/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.personal.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel(value = "我的证照实体类",description = "我的证照实体类")
public class MyCertificate {

    @ApiModelProperty(name = "id",value = "id")
    private String id;

    @ApiModelProperty(name = "corpCode",value = "水司code")
    private String corpCode;

    @ApiModelProperty(name = "corpName",value = "水司名称")
    private String corpName;

    @ApiModelProperty(name = "addTime",value = "创建日期")
    private Date addTime;

    @ApiModelProperty(name = "certificateName",value = "证件名称")
    private String certificateName;

    @ApiModelProperty(name = "certificateType",value = "证件类型")
    private String certificateType;

    @ApiModelProperty(name = "certificateTypeName",value = "证件类型名称")
    private String certificateTypeName;

    @ApiModelProperty(name = "dutiesId",value = "职责id")
    private String dutiesId;

    @ApiModelProperty(name = "dutiesName",value = "职责名称")
    private String dutiesName;

    @ApiModelProperty(name = "jobsStaffCertificateId",value = "人员必须持证id")
    private String jobsStaffCertificateId;

    @ApiModelProperty(name = "period",value = "证件有效截止期")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date period;

    @ApiModelProperty(name = "staffCode",value = "持证人code")
    private String staffCode;

    @ApiModelProperty(name = "staffName",value = "持证人名称")
    private String staffName;

    @ApiModelProperty(name = "deptCode",value = "持证人所在单位code")
    private String deptCode;

    @ApiModelProperty(name = "attachment",value = "证件附件地址")
    private String attachment;

    @ApiModelProperty(name="certificateCode",value = "证件code")
    private String certificateCode;

    @ApiModelProperty(name="type",value = "类型：0，安全管理员上传，1，自己上传",required = true)
    private Integer type;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getCertificateName() {
        return certificateName;
    }

    public String getCertificateType() {
        return certificateType;
    }

    public void setCertificateType(String certificateType) {
        this.certificateType = certificateType;
    }

    public String getCertificateTypeName() {
        return certificateTypeName;
    }

    public void setCertificateTypeName(String certificateTypeName) {
        this.certificateTypeName = certificateTypeName;
    }

    public String getDutiesId() {
        return dutiesId;
    }

    public void setDutiesId(String dutiesId) {
        this.dutiesId = dutiesId;
    }

    public String getDutiesName() {
        return dutiesName;
    }

    public void setDutiesName(String dutiesName) {
        this.dutiesName = dutiesName;
    }

    public void setCertificateName(String certificateName) {
        this.certificateName = certificateName;
    }

    public String getJobsStaffCertificateId() {
        return jobsStaffCertificateId;
    }

    public void setJobsStaffCertificateId(String jobsStaffCertificateId) {
        this.jobsStaffCertificateId = jobsStaffCertificateId;
    }

    public Date getPeriod() {
        return period;
    }

    public void setPeriod(Date period) {
        this.period = period;
    }

    public String getStaffCode() {
        return staffCode;
    }

    public void setStaffCode(String staffCode) {
        this.staffCode = staffCode;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getCertificateCode() {
        return certificateCode;
    }

    public void setCertificateCode(String certificateCode) {
        this.certificateCode = certificateCode;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
